package cn.mw.cmdb.link.param;

import cn.mw.microMonitorCommon.entity.alertDto.BaseParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @description 线路参数
 */
@Getter
@Setter
@Schema(name = "LinkParam", description = "线路参数")
public class LinkParam extends BaseParam {

    @Schema(description = "主机ID")
    private String hostId;

    @Schema(description = "服务器ID")
    private Integer serverId;

    @Schema(description = "线路ID集合")
    private List<String> linkIds;

    @Schema(description = "线路名称")
    private String linkName;

    @Schema(description = "资产ID")
    private String instanceId;

    @Schema(description = "接口名称")
    private String interfaceName;

    @Schema(description = "检测方式")
    private String detectionWay;

    @Schema(description = "线路ID")
    private String linkId;

    @Schema(description = "历史数据类型1:历史，2:趋势")
    private Integer historyDataType;

    @Schema(description = "时间类型")
    private Integer dateType;

    @Schema(description = "自定义开始时间")
    private String startTime;

    @Schema(description = "自定义结束时间")
    private String endTime;

    @Schema(description = "查询历史或趋势类型")
    private Integer queryType;

    @Schema(description = "值类型")
    private Integer valueType;

    @Schema(description = "线路树结构ID")
    private String linkTreeId;

    @Schema(description = "是否删除关联的ICMP类型资产")
    private Boolean isDelIcmpAssets;

    @Schema(description = "状态")
    private String status;

    @Schema(description = "源IP")
    private String sourceDeviceIp;

    @Schema(description = "目标IP")
    private String detectionTargetIp;
}
